#include "SDLTimer.h"

SDLTimer::SDLTimer(int millis)
{
    expiresAt = SDL_GetTicks() + millis;
}

bool SDLTimer::isExpired()
{
    return SDL_GetTicks() >= expiresAt;
}